package com.google.spring.core.samples;
/**
 * This class is a sample class to explore the basic concepts 
 * of spring like BeanContainer,autowiring,injection etc
 * @author V.Vinoth
 *
 */
public class HelloWorldImpl {
	
	private MathInfo mathInfo;
	
	
	public void setMathInfo(MathInfo mathInfo) {
		this.mathInfo = mathInfo;
	}
	
	/**
	 * This method displays a text message in the console and 
	 * calls the mathInfo bean been injected
	 * @param
	 * @return
	 */
	public void testSpring(){
		System.out.println("HELLO WELCOME TEST");
		mathInfo.getResult();
	}

}
